﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Dto.Common;

namespace WCS.Infrastructure.Dto.Request.Organization
{
    /// <summary>
    /// 权限表对象
    /// </summary>
    public class PermissionRequestDto:BaseRequestDto
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 父级权限ID（用于构建权限层级）
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 权限类型：1=菜单，2=操作，3=API
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// API接口路径，仅API类型权限需要
        /// </summary>
        public string? ApiPath { get; set; }

    }
}
